import { request } from "../utils/request";

const api = {
  login: '/users/users-login',
  getUserId: '/users/get-userinfo'

}


// 登录
export const userLogin = (params) => {
  return request({
    url: api.login,
    method: 'POST',
    data: params
  })
}

export const getUserInfoById = (params) => {
  return request({
    url: api.getUserId,
    method: 'GET',
    data: params
  })
}

